import request from '/@/utils/request'

export interface GetOutFlowInput {
  startTime?: string
  endTime?: string
  createStartTime?: string
  createEndTime?: string
  orderNo?: string
  customerName?: string
  contactPerson?: string
  outType?: string
  warehouseName?: string
  createUserName?: string
  orgId?: number
  goodsOrCategory?: string
  page?: number
  pageSize?: number
}

export function fetchOutFlowPage(data: GetOutFlowInput) {
  return request.post('/api/report/outFlow/page', data)
}

export function fetchOutFlowStats(data: GetOutFlowInput) {
  return request.post('/api/report/outFlow/stats', data)
}


